{% extends 'apidoc/base.html' %}
{% load staticfiles %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% block title %}新增接口{% endblock title %}
</head>
<body>
{% block content %}
    <div class="col-lg-12">
        <p style="text-align: center"></p>
    </div>

    <div class="col-lg-12">
        <div class="col-lg-3">

        </div>
        <div class="col-lg-5">
            <form class="form-inline" role="form" method="post" action="{% url 'apidoc:addPort' %}"
                  enctype="multipart/form-data" accept-charset="utf-8">
                {% csrf_token %}
                <style>
                    .form-group {
                        margin: 30px 0;
                    }

                    .form-group input {
                        margin: 10px 30px;
                    }
                </style>
                <div class="form-group">
                    <label for="name">接口名称</label>
                    <input type="text" class="form-control" name="portName" placeholder="请输入接口名称">
                </div>
                <br>

                <div class="form-group">
                    <label for="name">接口系统</label>
                    <input type="text" class="form-control" name="portSystem" placeholder="请输入接口系统">
                </div>
                <br>
                <div class="form-group">
                    <label for="name">接口路径</label>
                    <input type="text" class="form-control" name="portPath" placeholder="请输入接口路径">
                </div><br>
                <div class="form-group">
                    <label for="name"></label>
                    <input type="submit" class="form-control" name="portPath" value="提交">
                </div>
            </form>
        </div>
        <div class="4">

        </div>
    </div>

{% endblock content %}
</body>
</html>